package com.asktgapp.user.activity;


import android.content.Intent;
import android.support.v4.app.Fragment;


import com.asktgapp.base.BaseFragmentActivity;
import com.asktgapp.user.fragment.ShareFragment;
import com.umeng.socialize.UMShareAPI;

/**
 * @author zhaokai
 * @Title: {标题}
 * @Description:{描述}
 * @date 2018/03/06
 */
public class ShareActivity extends BaseFragmentActivity {
    @Override
    protected Fragment getFragment() {
        return new ShareFragment();
    }

    @Override
    protected String getToolbarTitle() {
        return "分享";
    }


    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        /** attention to this below ,must add this**/
        UMShareAPI.get(this).onActivityResult(requestCode, resultCode, data);
    }

}
